package com.cjh.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * @Author cjh
 * @Date 2020/12/4 10:01
 * @Version 1.0
 * feign接口调用消费者
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.cjh.springcloud.service"})
public class FeignEmpConsumer_80 {
    public static void main(String[] args) {
        SpringApplication.run(FeignEmpConsumer_80.class, args);
    }
}
